package com.archive.forum.mapper;

import org.apache.ibatis.annotations.Param;

public interface MessageExtMapper {
    Integer countUnreadMessages(@Param("userId") Integer userId);

    void markAsRead(@Param("messageId")Integer messageId);

    Integer countUnreadMessagesInSession(@Param("sessionId") Integer sessionId,
                                         @Param("userId") Integer userId);
}
